# -*- coding: utf-8 -*-

"""
Created on Fri Jun  8 18:43:24 2018

@author: Administrator
"""
#%%

from scipy.stats import pearsonr,linregress


a = range(1,30)
b = [i/10 for i in a]
c = [i/100 for i in a]
d = [i/1000 for i in a]


print(pearsonr(b,a))
print(pearsonr(c,a))
print(pearsonr(d,a))


print(linregress(b,a))
print(linregress(c,a))
print(linregress(d,a))

#%%